WooCommerce\Square\Framework\PaymentGateway\Payment_Gateway_My_Payment_Methods B

Total Complexity 85
Dependencies 5
Dependents 1
Total lines 953
Lines of code 333
Logical lines of code 175
Comment lines 408
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
handle_payment_method_actions()
A
47 12 33
load_tokens()
A
53 10 22
get_payment_method_actions_html()
A
48 8 29
ajax_save_payment_method()
S
49 7 30
get_table_body_row_html()
S
51 5 25
save_token_data()
S
63 5 9
get_table_body_html()
S
53 3 23
supports_add_payment_method()
S
67 4 8
get_table_body_row_data()
S
60 3 12
get_payment_method_actions()
S
55 2 18
is_payment_methods_page()
S
74 3 4
get_payment_method_details_html()
S
62 3 10
render_js()
S
53 1 22
get_payment_method_title_html()
S
62 2 10
get_payment_method_default_html()
S
63 2 9
init()
S
64 2 10
get_table_head_html()
S
65 2 8
render()
S
68 2 7
maybe_enqueue_styles_scripts()
S
65 2 8
get_payment_method_expiry_html()
S
74 1 4
get_table_headers()
S
63 1 10
get_table_html()
S
67 1 7
get_js_handler_class()
S
82 1 3
redirect_to_my_account()
S
77 1 4
get_plugin()
S
82 1 3
__construct()
S
71 1 5